package com.qf.mapper;

import com.qf.pojo.CheckGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CheckGroupMapper {
    @Select("SELECT * FROM t_checkgroup cg JOIN t_setmeal_checkgroup scg ON cg.id=scg.`checkgroup_id`where scg.`setmeal_id`=#{id}")
    List<CheckGroup> findById(Integer id);
}
